package com.cg.client.impl;

import com.cg.client.AppClient;
import com.cg.dto.*;
import com.cg.entity.*;
import com.cg.vo.*;

import java.text.ParseException;
import java.util.List;
import java.util.Map;

/**
 * @ClassName AppClientImpl
 * @Description TODO
 * @Author CG
 * @Date 2023/12/31 14:38
 **/
public class AppClientImpl implements AppClient {
    /**
     * 获取注册需要的手机验证码
     */
    @Override
    public Result getCode(PhoneDto phoneDto) {
        return ResultUtils.returnFail("异常");
    }

    /**
     * 注册用户
     */
    @Override
    public Result createPatientUser(RegisterPatientUserDto registerPatientUserDto) {
        return ResultUtils.returnFail("异常");
    }

    /**
     * 根据type_code查询所有类型
     */
    @Override
    public Result<List<Dictionary>> queryDictionaryByTypeCode(String typeCode) {
        return ResultUtils.returnFail("异常");
    }

    /**
     * 加载所有国家
     */
    @Override
    public Result<List<Country>> queryCountryList() {
        return ResultUtils.returnFail("异常");
    }

    /**
     * 查询所有民族
     */
    @Override
    public Result<List<Nation>> queryNationList() {
        return ResultUtils.returnFail("异常");
    }

    /**
     * 查询省
     */
    @Override
    public Result<List<Area>> queryShen() {
        return ResultUtils.returnFail("异常");
    }

    @Override
    public Result<List<Area>> queryShi(Integer areaId) {
        return ResultUtils.returnFail("异常");
    }

    @Override
    public Result<List<Area>> queryQu(Integer areaId) {
        return ResultUtils.returnFail("异常");
    }

    @Override
    public Result<List<AreaListVo>> getAreas() {
        return ResultUtils.returnFail("异常");
    }

    @Override
    public Result getLoginCode(String phone) {
        return ResultUtils.returnFail("异常");
    }

    @Override
    public Result<List<PatientListVo>> patientListByPhone(Integer patientUserId)throws ParseException  {
        return ResultUtils.returnFail("异常");
    }

    @Override
    public Result<LoginPatientUserVo> loginPatientUser(LoginPatientUserDto loginPatientUserDto) {
        return ResultUtils.returnFail("异常");
    }

    @Override
    public Result updatePassword(UpdatePasswordDto updatePasswordDto) {
        return ResultUtils.returnFail("异常");
    }

    @Override
    public Result<PatientVo> queryPatientByCardNum(String cardNum) {
        return ResultUtils.returnFail("异常");
    }

    @Override
    public Result createPatient(Patient patient) {
        return ResultUtils.returnFail("异常");
    }

    @Override
    public Result<List<Branch>> queryBranchList() {
        return ResultUtils.returnFail("异常");
    }

    @Override
    public Result<List<Department>> queryDepartmentByBranchId(Integer branchId) {
        return ResultUtils.returnFail("异常");
    }

    @Override
    public Result<List<Divide>> queryDivideByDepartmentId(Integer departmentId) {
        return ResultUtils.returnFail("异常");
    }

    @Override
    public Result<Patient> getPatientByToken(Integer userId) {
        return ResultUtils.returnFail("异常");
    }

    @Override
    public Result addInfo(String cardNum) {
        return ResultUtils.returnFail("异常");
    }

    @Override
    public Result<List<Banner>> queryBannerList() {
        return ResultUtils.returnFail("异常");
    }

    @Override
    public Result<List<Info>> queryInfoList() {
        return ResultUtils.returnFail("异常");
    }

    @Override
    public Result<Banner> queryBannerByBannerId(Integer bannerId) {
        return ResultUtils.returnFail("异常");
    }

    @Override
    public Result queryCountByPatientUserId(Integer patientUserId) {
        return ResultUtils.returnFail("异常");
    }

    @Override
    public Result<DateListVo> queryDateList(DateDto dateDto) throws ParseException {
        return ResultUtils.returnFail("异常");
    }

    @Override
    public Result<List<ArrangeDoctorVo>> queryArrangeDoctor(DateDto dateDto) {
        return ResultUtils.returnFail("异常");
    }

    /**
     * 根据科室名称模糊查询科室列表
     */
    @Override
    public Result<List<Department>> queryDepartmentByDepartmentName(String departmentName) {
        return ResultUtils.returnFail("异常");
    }

    @Override
    public Result<DepartmentInfoVo> queryDepartmentInfo(Integer departmentId) {
        return ResultUtils.returnFail("异常");
    }

    @Override
    public Result<List<DoctorListVo>> queryDoctorList(String doctorName) {
        return ResultUtils.returnFail("异常");
    }

    @Override
    public Result<DoctorListVo> queryDoctorByDoctorId(Integer doctorId) {
        return ResultUtils.returnFail("异常");
    }

    @Override
    public Result<List<DictionaryType>> queryTypeCodeAll() {
        return ResultUtils.returnFail("异常");
    }

    @Override
    public Result<String> barCode(String cardNum) {
        return ResultUtils.returnFail("异常");
    }

    @Override
    public Result<String> code(String cardNum) {
        return ResultUtils.returnFail("异常");
    }

    @Override
    public Result<Info> queryInfo(String infoName) {
        return ResultUtils.returnFail("异常");
    }

    @Override
    public Result createOrder(OrderDto orderDto) {
        return ResultUtils.returnFail("异常");
    }

    @Override
    public Result<Map<String, Object>> orderListByPatientId(OrderListPageDto orderListPageDto) {
        return ResultUtils.returnFail("异常");
    }

    @Override
    public Result<OrderDetailVo> queryOrderDetailByOrderNum(String orderNum) {
        return ResultUtils.returnFail("异常");
    }

    @Override
    public Result<List<AppSource>> queryAppSource(Integer sourceType) {
        return ResultUtils.returnFail("异常");
    }

    @Override
    public Result<List<HealthInfoVo>> queryHealthList() {
        return ResultUtils.returnFail("异常");
    }

    @Override
    public Result<Map<String, Object>> queryHealthListByTitle(HealthInfoPageDto healthInfoPageDto) {
        return ResultUtils.returnFail("异常");
    }
}
